package com.sfpay.coreplatform.order.valueobject.tmo;

import java.util.Date;

 
import com.sfpay.coreplatform.order.common.enums.BusinessType;
import com.sfpay.coreplatform.order.common.enums.TradeType;
import com.sfpay.coreplatform.order.common.enums.tradeStatus;
import com.sfpay.coreplatform.order.common.enums.OrderType; 

/**
 * 类说明：交易订单model
 * <p>
 * 详细描述：Table:TRADE_ORDER
 * 
 * @author 307063 CreateDate: 2012-2-4
 */
public class TradeOrder implements java.io.Serializable {

	private static final long serialVersionUID = -2083832947903189372L;

	/**
	 * 交易订单号
	 */
	private String orderNo;
	/**
	 * 业务流程 号
	 */
	private String businessSn;

	/**
	 * 订单类型 {@link com.sfpay.order.enums.OrderType}
	 */
	private OrderType orderType;

	/**
	 * 订单金额
	 */
	private Long orderAmt;

	/**
	 * 订单状态 {@link com.sfpay.tradeStatus.enums.OrderStatus}
	 */
	private tradeStatus orderStatus;

	/**
	 * 业务类型
	 */
	private BusinessType businessType;

	/**
	 * 交易开始时间
	 */
	private Date beginTime;

	/**
	 * 交易结束时间
	 */
	private Date endTime;

	 
	/**
	 * 商户订单号
	 */
	private String merchantOrderNo;
	/**
	 * 商户会员编号
	 */
	private Long memberNo;
	/**
	 * 商户会员名称
	 */
	private String memberName;
	/**
	 * 付款卡号
	 */
	private String cardCode;
	/**
	 * 主题
	 */
	private String subject;
	
	/**
	 * 详细信息
	 */
	private String detailInfo;
	/**
	 * 交易链接地址
	 */
	private String tradeUrl;
	/**
	 * 结果提示地址
	 */
	private String resultUrl;
	
	/**
	 * 结果回调地址
	 */
	private String pageUrl;
	/**
	 * 交易规则编号
	 */
	private String ruleCode;
	/**
	 * 备注
	 */
	private String remark;
	
	/**
	 * 交易类型
	 */
	private TradeType tradeType;
	
	

	public TradeOrder() {

	}
 

	public String getOrderNo() {
		return orderNo;
	}

	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}

	/**
	 * 订单类型：{@link com.sfpay.order.enums.OrderType}
	 * 
	 * @return
	 */
	public OrderType getOrderType() {
		return orderType;
	}

	/**
	 * 订单类型：{@link com.sfpay.order.enums.OrderType}
	 * 
	 * @param orderType
	 */
	public void setOrderType(OrderType orderType) {
		this.orderType = orderType;
	}

	public Long getOrderAmt() {
		return orderAmt;
	}

	public void setOrderAmt(Long orderAmt) {
		this.orderAmt = orderAmt;
	}

	/**
	 * 订单状态：{@link com.sfpay.tradeStatus.enums.OrderStatus}
	 * 
	 * @return
	 */
	public tradeStatus getOrderStatus() {
		return orderStatus;
	}

	/**
	 * 订单状态：{@link com.sfpay.tradeStatus.enums.OrderStatus}
	 * 
	 * @param orderStatus
	 */
	public void setOrderStatus(tradeStatus orderStatus) {
		this.orderStatus = orderStatus;
	}

	/**
	 * 业务类型：{@link com.sfpay.order.enums.BusinessType}
	 * 
	 * @return
	 */
	public BusinessType getBusinessType() {
		return businessType;
	}

	/**
	 * 业务类型：{@link com.sfpay.order.enums.BusinessType}
	 * 
	 * @param businessType
	 */
	public void setBusinessType(BusinessType businessType) {
		this.businessType = businessType;
	}

	public Date getBeginTime() {
		return beginTime;
	}

	public void setBeginTime(Date beginTime) {
		this.beginTime = beginTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}


	public String getMerchantOrderNo() {
		return merchantOrderNo;
	}


	public void setMerchantOrderNo(String merchantOrderNo) {
		this.merchantOrderNo = merchantOrderNo;
	}


	public Long getMemberNo() {
		return memberNo;
	}


	public void setMemberNo(Long memberNo) {
		this.memberNo = memberNo;
	}


	public String getMemberName() {
		return memberName;
	}


	public void setMemberName(String memberName) {
		this.memberName = memberName;
	}


	public String getCardCode() {
		return cardCode;
	}


	public void setCardCode(String cardCode) {
		this.cardCode = cardCode;
	}


	public String getSubject() {
		return subject;
	}


	public void setSubject(String subject) {
		this.subject = subject;
	}


	public String getDetailInfo() {
		return detailInfo;
	}


	public void setDetailInfo(String detailInfo) {
		this.detailInfo = detailInfo;
	}


	public String getTradeUrl() {
		return tradeUrl;
	}


	public void setTradeUrl(String tradeUrl) {
		this.tradeUrl = tradeUrl;
	}


	public String getResultUrl() {
		return resultUrl;
	}


	public void setResultUrl(String resultUrl) {
		this.resultUrl = resultUrl;
	}


	public String getPageUrl() {
		return pageUrl;
	}


	public void setPageUrl(String pageUrl) {
		this.pageUrl = pageUrl;
	}


	public String getRuleCode() {
		return ruleCode;
	}


	public void setRuleCode(String ruleCode) {
		this.ruleCode = ruleCode;
	}


	public String getRemark() {
		return remark;
	}


	public void setRemark(String remark) {
		this.remark = remark;
	}


	public String getBusinessSn() {
		return businessSn;
	}

	public void setBusinessSn(String businessSn) {
		this.businessSn = businessSn;
	}

	public TradeType getTradeType() {
		return tradeType;
	}

	public void setTradeType(TradeType tradeType) {
		this.tradeType = tradeType;
	}	
	 
}
